package com.luych.toolbox.automation.service.dao;

import com.luych.toolbox.automation.service.entity.AutoTaskHistoryArg;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AutoTaskHistoryArgDao extends JpaRepository<AutoTaskHistoryArg, String>, JpaSpecificationExecutor<AutoTaskHistoryArg> {

    List<AutoTaskHistoryArg> findByAutoTaskHistoryId(String autoTaskHistoryId);

    void deleteByAutoTaskHistoryId(String autoTaskHistoryId);
}